﻿@model IEnumerable<Citi.PTSConsolidation.WebUi.Models.ProjectModel>
@{
    ViewBag.Title = "Projects";
}
<h2>
    Projects</h2>
<table class="table table-bordered table-striped">
    <tr>
        <th>
            Project Id
        </th>
        <th>
            Project Name
        </th>
        <th>
            Program Id
        </th>
        <th>
            Program Name
        </th>
        <th>
            Program Business Relationship
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ProjectName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Program.Id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Program.ProgramName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Program.ProgramOwner)
            </td>
        </tr>
    }
</table>
